package com.zzh.partnersys.im.message.request;

import com.zzh.partnersys.im.message.Message;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 聊天表情请求消息-单聊
 * @author zzh
 * @date 2024/08/27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ChatEmojiRequestMessage extends Message {
    private String content;
    private Long uid;
    private Long fromUid;

    public ChatEmojiRequestMessage() {
    }

    public ChatEmojiRequestMessage(Long fromUid, Long toUid, String content) {
        this.fromUid = fromUid;
        this.uid = toUid;
        this.content = content;
        this.setMessageType(ChatEmojiRequestMessage);
    }

    @Override
    public int getMessageType() {
        return ChatEmojiRequestMessage;
    }

    @Override
    public void setMessageType(int messageType) {
        super.setMessageType(messageType);
    }
}
